import Vue from 'vue'
import Vuex from 'vuex'
import modulesCart from './cart.js'
import modulesUser from './user.js'

// 导入 vuex 实现通信 
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
   modulesCart,
   modulesUser
  }
})

export default store
